#ifndef CLIENT_H__
#define CLIENT_H__

#define SERVERPATH "/home/ll/Gitee/c-code/网络编程/ftp"
#define NAMESIZE 1024
#define BUFFSIZE 1024

enum CMD_NO
{
	FTP_CMD_LS = 1024,
	FTP_CMD_GET,
	FTP_CMD_PUT,
	FTP_CMD_BYE
};

enum
{
	FSM_RECV = 1,
	FSM_UNPC,
	FSM_REPLY,
	FSM_EX,
	FSM_T
};

struct FSM_ST
{
	int state;
	int confd;
	u_int8_t recvbuff[BUFFSIZE];
	int cmd_no;
	char *errstr;
};


#endif
